Add audio button with mic/mic-off toggle to Host panel header#18
Draft
Add audio button with mic/mic-off toggle to Host panel header#18
Conversation
Co-authored-by: acdc-digital <127530566+acdc-digital@users.noreply.github.com>
Co-authored-by: acdc-digital <127530566+acdc-digital@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Host: Audio button Option to Listen to Narration Stream
Add audio button with mic/mic-off toggle to Host panel header
Sep 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a mic button to the Host panel header positioned to the right of the settings icon, as requested in issue #17. The button provides visual feedback for audio narration state and will be used for future audio streaming functionality.
Changes Made
Host Agent Store (
lib/stores/host/hostAgentStore.ts)isMicActive: booleanstate to track mic statustoggleMic()action to toggle mic state with console loggingHost Component (
app/dashboard/studio/host/Host.tsx)MicandMicOfficons from lucide-reactMicicon when active,MicOfficon when inactiveImplementation Details
The mic button follows the existing design patterns:
p-1 hover:bg-[#2d2d2d] rounded transition-colors border text-muted-foreground cursor-pointer)Visual Result
The mic button appears in the header next to the settings icon and correctly toggles between mic/mic-off states when clicked. The button is ready for future integration with audio streaming functionality.
Fixes #17.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
fonts.googleapis.com/usr/local/bin/node /home/REDACTED/work/SMNB/SMNB/smnb/node_modules/next/dist/compiled/jest-worker/processChild.js(dns block)next-server (v15.5.0)(dns block)https://api.github.com/repos/get-convex/convex-backend/releasesnode /home/REDACTED/work/SMNB/SMNB/smnb/node_modules/.bin/convex dev(http block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.